/**
* This is the Apple class that is a sub class of Fruit class. Very short class with only
* one constructor and one toString method. 
*
* @author Veniamin Kozubenko
*
* @see "No Borrowed Code"
*/ 
public class Apple extends Fruit
{
	public Apple(String fruitName, int price)
	{
		super(fruitName, price);
	} // End explicit value constructor

	public String toString()
	{
		String temp = "Apple:";
		while (temp.length() != 8)
			temp += " ";
		return temp + fruitName + " at " + ((double)price / 100) + " per pound";
	} // End toString method
} // End class Apple